package com.example.springboot;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TaskMapper {

    List<Task> findByUserId(Integer userId);

    void insertTask(Task task);

    Task findTaskById(Long taskId);
}
